﻿using System;
using System.Windows.Forms;
using TDDLab.Entities;

namespace TDDLab.ZombieMovieCatalog
{
    public partial class ZombieMovieDetailsView : Form 
    {
        public void DisplayMovieDetails(Movie movie)
        {
            lblMovieTitle.Text = movie.Title;
            lblMovieDescription.Text = movie.LongDescription;
            picMovieImage.ImageLocation = movie.Image;
        }

        public void CloseForm()
        {
            Close();
        }

        public ZombieMovieDetailsView()
        {
            InitializeComponent();
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            try
            {

            }
            catch (Exception)
            {
                
                throw;
            }
        }
    }
}
